<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Title</title>
    <script src="../jquery/jquery-3.2.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="../css/bootstrap.css">
</head>
<body>

    <div class="container">
        <h3>普通导航</h3>
        <ul class="nav nav-tabs ">
            <li><a href="#">首页</a></li>
            <li class="active"><a href="#">关于我们</a></li>
            <li><a href="#">留言</a></li>
        </ul>
        <h3>胶囊导航</h3>
        <ul class="nav nav-pills">
            <li><a href="#">首页</a></li>
            <li class="active"><a href="#">关于我们</a></li>
            <li><a href="#">留言</a></li>
        </ul>
        <h3>堆叠导航</h3>
        <ul class="nav nav-pills nav-stacked bg-info center-block">
            <li><a href="#">首页</a></li>
            <li class="active"><a href="#">关于我们</a></li>
            <li><a href="#">留言</a></li>
        </ul>
        <h3>平铺导航</h3>
        <ul class="nav nav-pills nav-justified btn-danger">
            <li><a href="#">首页</a></li>
            <li class="active"><a href="#">关于我们</a></li>
            <li><a href="#">留言</a></li>
        </ul>
    </div>
</body>
</html>